Planes On - Selected
Overview
Planes On shows the primary work planes (1, 2, and 3) for the selected component occurrence(s) in an assembly. Use it when you need coordinate/reference planes visible for constraints, alignment, or inspection.
If the component document includes a user parameter named ShowPlanes, this command sets it to True. You can use that parameter in component rules to control visibility of additional custom work planes.
How It Works
- Prompts you to pick one or more component occurrences (selection set allowed).
- For each selected component document:
- Sets the ShowPlanes user parameter to True (if present).
- Sets work planes 1, 2, and 3 visibility to True.
- Updates the affected documents after applying visibility changes.
Usage Instructions
- Select the component(s) in your assembly for which you want to show planes.
- Click Planes On in the Configure panel.
- Confirm work planes 1–3 are visible in the selected components.
- If you use a ShowPlanes-driven rule, verify custom planes respond as expected.
Troubleshooting
- Some planes remain hidden: A design view representation or a rule may be overriding visibility.
- Custom planes did not show: Ensure a ShowPlanes user parameter exists and that your rule uses it to control additional plane visibility.
- Nothing changed: Confirm you selected the intended component occurrence(s) and that they are not suppressed/read-only.
Examples
- Show all planes in a component: Select the component and run Planes On to show all coordinate system planes.
- Toggle custom work planes: Add a rule to your component to toggle visibility for specific named planes using the ShowPlanes parameter.
- Example rule to toggle work plane visibility. Each time you run Planes On/Planes Off, these work planes along with the standard coordinate system planes will be toggled according to your rules.
- ThisDoc.Document.ComponentDefinition.WorkPlanes(1).Visible = ShowPlanes
- ThisDoc.Document.ComponentDefinition.WorkPlanes("Top of Fitting").Visible = ShowPlanes
- ThisDoc.Document.ComponentDefinition.WorkPlanes("Bottom of Fitting").Visible = ShowPlanes
- ThisDoc.Document.ComponentDefinition.WorkPlanes("Middle of Fitting").Visible = ShowPlanes